home *** CD-ROM | disk | FTP | other *** search
/ Champak 74 / Volume 74 My Disc - Damaged.iso / Games / snowmans.swf / scripts / DefineButton2_175 / BUTTONCONDACTION on(release).as
Text File  |  2008-08-07  |  3KB  |  108 lines

  1. on(release){
  2.    if(true)
  3.    {
  4.       if(true)
  5.       {
  6.          ┬º┬ºpush(false);
  7.       }
  8.       if(!┬º┬ºpop())
  9.       {
  10.          if(true)
  11.          {
  12.             if(true)
  13.             {
  14.                ┬º┬ºpush(false);
  15.             }
  16.             if(!┬º┬ºpop())
  17.             {
  18.                _root.ball.bounces = 0;
  19.                _root.ball.xspeed = 0;
  20.                _root.ball.yspeed = 0;
  21.                _root.go = false;
  22.                _root.terrain.clear();
  23.                terrain.lineStyle(10,14868735,100);
  24.                _root.ball._xscale = 100;
  25.                _root.ball._yscale = 100;
  26.                _root.ball.kern._xscale = 100;
  27.                _root.ball.kern._yscale = 100;
  28.                _root.ball.kern._rotation = 0;
  29.                _global.oog1gepakt = false;
  30.                _root.items.eye1._visible = true;
  31.                _global.oog2gepakt = false;
  32.                _root.items.eye2._visible = true;
  33.                _global.wortelgepakt = false;
  34.                _root.items.wortel._visible = true;
  35.                _global.bezemgepakt = false;
  36.                _root.ball.kern.oog1._visible = false;
  37.                _root.ball.kern.oog2._visible = false;
  38.                _root.ball.kern.wortel._visible = false;
  39.                _root.body.bezem._visible = false;
  40.                _root.messagetekst.gotoAndStop(1);
  41.                _root.items.vlok._x = _root.oldxsnow;
  42.                _root.items.bezem._x = _root.oldxbezem;
  43.                if(_root.level == 1)
  44.                {
  45.                   _root.ball._x = 125;
  46.                   _root.ball._y = 125;
  47.                }
  48.                if(_root.level == 2)
  49.                {
  50.                   _root.ball._x = 125;
  51.                   _root.ball._y = 40;
  52.                }
  53.                if(_root.level == 3)
  54.                {
  55.                   _root.ball._x = 105;
  56.                   _root.ball._y = 30;
  57.                }
  58.                if(_root.level == 4)
  59.                {
  60.                   _root.ball._x = 660;
  61.                   _root.ball._y = 20;
  62.                }
  63.                if(_root.level == 5)
  64.                {
  65.                   _root.ball._x = 680;
  66.                   _root.ball._y = 20;
  67.                }
  68.                if(_root.level == 6)
  69.                {
  70.                   _root.ball._x = 675;
  71.                   _root.ball._y = 25;
  72.                }
  73.                if(_root.level == 7)
  74.                {
  75.                   _root.ball._x = 100;
  76.                   _root.ball._y = 17;
  77.                }
  78.                if(_root.level == 8)
  79.                {
  80.                   _root.ball._x = 95;
  81.                   _root.ball._y = 20;
  82.                }
  83.                if(_root.level == 9)
  84.                {
  85.                   _root.ball._x = 650;
  86.                   _root.ball._y = 18;
  87.                }
  88.                if(_root.level == 10)
  89.                {
  90.                   _root.ball._x = 670;
  91.                   _root.ball._y = 20;
  92.                   addr416:
  93.                }
  94.                ┬º┬ºgoto(addr416);
  95.             }
  96.             else
  97.             {
  98.                addr33:
  99.             }
  100.          }
  101.          ┬º┬ºgoto(addr416);
  102.          ┬º┬ºgoto(addr416);
  103.       }
  104.       ┬º┬ºgoto(addr33);
  105.    }
  106.    ┬º┬ºgoto(addr416);
  107. }
  108.